/**
 * 接口域名的管理
 */
import dev from './config/dev'
import fast from './config/fast'
import pro from './config/pro'

const ENV = 1 // 1.本地mock 2.fastMock 3.正式接口
const config = ENV === 1 ? dev : ENV === 2 ? fast : pro
const base = {
    ...config,
    EVN: ENV,
    response_type: 'code',
    client_id: '9xTVfd0OmP64Ji9cxnBu', // 应用id
    client_secret: 'VDmBMOk0g9mStK62GrxdPAZrA27jyTMB', // 私钥
    redirect_uri: decodeURIComponent('http://localhost:8081/#/loading/'),
    state: '456'
}
export default base
